#include "app_message.h"
#include "log/log.h"
int main(int argc, char const *argv[])
{
    char Data[100] = {0};
    char *json_str = "{\"conn_type\":1,\"id\":\"5858\",\"msg\":\"61626364\"}";
    int num = app_message_jsonToChars(json_str, Data, 100);
    log_debug("%s", Data);
    char *str = app_message_charsToJson(Data, num);
    log_debug("%s", str);
    App_message_Free(str);
    return 0;
}
